<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/_reset.css" />
		<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="css/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="css/logistics.css" />
	</head>

	<body style="overflow-x: hidden;">
		<div class="logistics">
			<div class="top">
				<a href="javascript:history.back(-1)" class="back">
					<i class="iconfont">&#xe615;</i></a>
				物流信息
			</div>
			<div class="info container">
				<p>订单编号： <span>201484561</span>
					<p>创建订单： <span>2018-02-02 &nbsp; 08:08:08</span></p>
					<p>付款时间： <span>2018-02-02 &nbsp; 08:08:08</span></p>
			</div>
			<div class="dieno container">
				<p>物流公司： <span>中通快递</span></p>
				<p>物流单号： <span id="wuliu">4165448163213</span><button class="bsa" onclick="copytxt()">复制</button></p>
			</div>
		</div>
	</body>
	<script src="js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/iconfont.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		console.log(document.getElementById("wuliu").textContent)
		function copytxt(){
            var d = document.getElementById("wuliu").textContent;
            d.select();
			document.execCommand("Copy");
            alert("已复制到剪贴板"); 
       }
	</script>

</html>